<?php

class Pldkp_Form_Confirm extends Pldkp_Form 
{ 
    public function init()
    { 
        $yes = new Zend_Form_Element_Submit('yes');
        $yes->setLabel('Yes');
        
        $no = new Zend_Form_Element_Submit('no');
        $no->setLabel('No');
        
        $this->addElements(array($yes, $no));
    }
    
    protected function setupDecorators()
    {
        parent::setupDecorators();
        foreach ($this->getElements() as $element) {
            if ($element instanceof Zend_Form_Element_Submit) {
                $element->removeDecorator('HtmlTag');
            }
        }
    }
}